﻿using System;
using System.Net.Sockets;

namespace Server
{
    public class ServerErrorArgs: ServerEventArgs
    {
        private Exception err;

        public ServerErrorArgs(TcpClient cli, Exception ex)
            :base(cli)
        {
            err = ex;
        }

        public Exception Error
        {
            get { return err; }
        }
    }
}
